package com.wm;

/**
 * @ClassName:Asserts
 * @Description: 断言类
 * @Author:Deamer
 * @Date:2022/1/3 15:28
 **/
public class Asserts {
    public static void test(boolean value) {
        try {
            if (!value) {
                throw new IllegalArgumentException("测试未通过");
            }
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
